package com.hyl.line;

import com.hyl.utils.Point;

/**
 * @description:
 * @author: molar
 * @date: Created in 2020/6/7 12:32
 * @version:
 * @modified By:
 */
public class CurveConnector extends Line{
    public CurveConnector(Point firstPoint, Point SecondPoint) {
        super(firstPoint, SecondPoint);
    }

    @Override
    public void drawElement() {
        System.out.println("绘制了一个从（"+getFirstPoint().getX()+","+getFirstPoint().getY()+")到（"+getSecondPoint().getX()+","+getSecondPoint().getY()+")的曲线连接符");
    }
}
